import React from 'react';
import {Tabs} from "antd";
import PzscTable from "../../PzscTable";

const tabItems = [
  {
    key: 'pz',
    label: '凭证',
    children: <PzscTable mode={'pzsc'} />
  },
  {
    key: 'kmnc',
    label: '科目年初',
    children: <PzscTable mode={'kmyebsc'} />
  },
  {
    key: 'xmnc',
    label: '项目年初',
    children: <PzscTable mode={'xmyebsc'} />
  },
  {
    key: 'kmzd',
    label: '科目字典',
    children: <PzscTable mode={'kmzdsc'} />
  },
  {
    key: 'xmzd',
    label: '项目字典',
    children: <PzscTable mode={'xmzdsc'} />
  },
  {
    key: 'bmzd',
    label: '部门字典',
    children: <PzscTable mode={'bmzdsc'} />
  },
  {
    key: 'wldw',
    label: '往来单位',
    children: <PzscTable mode={'wldwsc'} />
  },
];

const DataReport = () => {
    return (
        <Tabs items={tabItems}></Tabs>
    );
}

export default DataReport;